<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>
<font color="red"> <html:errors />
</font>
<bean:define id="role" value="${auth.role.roleType}" scope="session" />
<logic:equal name="role" value="admin">
	<html:form action="/airportAddAction">
		<h1>
			<bean:message key="airport.title.add" />
		</h1>
		<bean:message key="airport.name" />
		<html:text property="airportName"></html:text>
		<br />
		<html:submit>
			<bean:message key="airport.add" />
		</html:submit>
		<html:reset>
			<bean:message key="reset" />
		</html:reset>
	</html:form>

</logic:equal>